﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace FoneBuddy.Web
{
    public class PageBase : System.Web.UI.MasterPage
    {
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            if (SessionWrapper.UserId == 0)
                Response.Redirect("Merchantlogin.aspx");
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            
            if (SessionWrapper.UserId == 0)
                Response.Redirect("login.aspx");
        }
    }
}
